package org.feiye.studyday23;

import java.util.Scanner;

public class Lesson {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);

		System.out.println("请输入你选择的课程：");
		String init = in.next();
		Level l = Level.valueOf(init);// valueOf方法

		switch (l) {
		case L1:
			System.out.println("初级");
			break;
		case L2:
			System.out.println("中级");
			break;
		case L3:
			System.out.println("高级");
			break;
		}

	}
}
